package com.demo.str;

/**
 * @author wangning
 * @date 2023/10/23 21:16
 * 字符串
 */
public class StringDemo {
    public static void main(String[] args) {
        String s1 = "abc";
        System.out.println("s1 = " + s1);
        updateStr(s1);
        System.out.println("s1 = " + s1);
    }

    public static void updateStr(String s1) {
        s1 = "qaz";
    }
}
